package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Classname UserRegisterRequest
 * @Description TODO
 * @Date 2022/4/13 16:18
 * @Created by sunhao
 */
@ApiModel(value = "用户注册对象",description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

  /**
   * 昵称
   */
  @ApiModelProperty(value = "昵称",example = "Anna小姐姐")
  private String name;

  /**
   * 密码
   */
  @ApiModelProperty(value = "密码",example = "123456")
  private String pwd;

  /**
   * 头像
   */
  @ApiModelProperty(value = "头像",example = "")
  @JsonProperty("head_img")
  private String headImg;

  /**
   * 用户签名
   */
  @ApiModelProperty(value = "用户签名",example = "要学会布局与攀爬")
  private String slogan;

  /**
   * 0表示女，1表示男
   */
  @ApiModelProperty(value = " 0表示女，1表示男",example = "0")
  private Integer sex;

  /**
   * 邮箱
   */
  @ApiModelProperty(value = "邮箱",example = "1336809324@qq.com")
  private String mail;

  @ApiModelProperty(value = "验证码",example = "123456")
  private String code;
}
